export default {
  beforeRouteEnter(to, from, next) {
    document.getElementById('app').scrollTop = 0;
    next();
  },
  beforeRouteUpdate(to, from, next) {
    document.getElementById('app').scrollTop = 0;
    next();
  }
};
